<template>
  <el-container>
    <basic-crud :option="option" businessUrl="/bd/customerClassifyController">
    </basic-crud>
  </el-container>
</template>

<script setup>
const option = {
  menuWidth: 250,
  isTableTree: true,
  calcHeight: 10,
  addSonBtn: true,
  labelWidth:80,
  column: [
    {
      label: '编号',
      prop: 'code',
      search: true,
      rules: [{ required: true, message: '请输入编号', trigger: 'blur' }],
    },
    {
      label: '名称',
      prop: 'name',
      search: true,
      sortable: true,
      rules: [{ required: true, message: '请输入名称', trigger: 'blur' }],
    },
    {
      label: '排序',
      prop: 'orderNum',
      type: 'number',
      step: 10
    },
    {
      label: "描述",
      type: 'textarea',
      span: 24,
      prop: "des",
      sortable: true,
    }
  ],
}
</script>

<style lang="scss" scoped></style>
